# import matplotlib.pyplot as plt
# score = [107,77,94,87,56,95,45,12,65,75,89,94,67,84,98,101,85,76,96,99]
# plt.rcParams ['font.sans-serif'] = ['SimHei']
# plt.xlabel('分数')
# plt.ylabel('学生数量')
# plt.title('学生语文成绩分布直方图')
# plt.hist(score,bins=range(0,150,10),facecolor='r',edgecolor='b')
# plt.show()


# import numpy as np
# arr1 = np.array ([1,2,3])
# print('一位数组arr1: \n',arr1)
# arr2 = np.array((4.5,5.6,6.8),dtype = 'int32')
# print('一维数组arr2: \n',arr2)
# arr3 = np.array([[1,2,3],[4,5,6]],dtype='float32')
# print('2*3的二维数组arr3: \n',arr3)


# import numpy as np
# arr11 = np.array((1.1,2.2,3.3))
# print('一维数组arr11： \n',arr11)
# arr111 = np.array([-1,-2,-3])
# print('一维数组arr111: \n',arr111)
# arr1111 = np.array([3.,-2.,2.3])
# print('一维数组arr1111: \n',arr1111)




# import numpy as np
# arr1 = np.zeros(2)
# print('一维数组arr1: \n',arr1)
# arr2 = np.zeros((2,3))
# print('二维数组arr2: \n',arr2)
# arr3 = np.ones(3)
# print('一维数组arr3: \n',arr3)
# arr4 = np.ones((3,3))
# print('二维数组arr4: \n',arr4)
# arr5 = np.empty(4)
# print('一维数组arr5: \n',arr5)
# arr6 = np.empty((3,4),dtype='int')
# print('二维整数型数组arr6: \n',arr6)


import numpy as np
arr = np.ones((2,3))*5
print('arr: \n',arr)























# pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple/
# pip install pandas  -i https://pypi.tuna.tsinghua.edu.cn/simple/
# pip install matplotlib  -i https://pypi.tuna.tsinghua.edu.cn/simple/
# pip install openpyxl -i https://pypi.tuna.tsinghua.edu.cn/simple/
